package com.changgou.service;

import com.changgou.goods.pojo.Brand;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 2019/12/8
 * zjh
 */
public interface BrandService {
    List<Brand> findAll();
    Brand findById(Integer id);
    void add(Brand brand);
    void update(Brand brand);
    void delete(Integer id);
    List<Brand> findList(Brand brand);
    PageInfo<Brand> findPage(Integer page, Integer size);
    PageInfo<Brand> findPage(Brand brand, Integer page, Integer size);
}
